package cn.iocoder.yudao.module.question.controller.admin.bank.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 题库信息 Excel 导出 Request VO，参数和 BankPageReqVO 是一致的")
@Data
public class BankExportReqVO {

    @Schema(description = "题库名称", example = "王五")
    private String name;

    @Schema(description = "题库描述")
    private String bankDesc;

    @Schema(description = "题库类型：对应system_dict_data表question_bank_type的id", example = "2")
    private Long bankType;

    @Schema(description = "作用范围（1用于考试 2用于训练）", example = "1")
    private Byte effectType;

    @Schema(description = "训练权限（1完全公开 2部门公开 3指定人员）当effect_type为2时不能为空", example = "1")
    private Byte trainType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
